package com.zhuss.enums;

import java.util.List;

/**
 * @author summer
 * @date 2021/1/6 9:19
 */
public enum OperationStatus implements BaseEnum {
    未开通 (10, "未开通", ""),
    已开通(20, "已开通", ""),
    已停运(30, "已停运", ""),
    ;

    Integer key;

    String value;

    String tag;

    OperationStatus(int key,String value,String tag) {
        this.key = key;
        this.value = value;
        this.tag = tag;
    }
    public Boolean sameKey(Integer key) {
        return this.key.equals(key);
    }

    public Integer key() {
        return key;
    }

    public String value() {
        return value;
    }

    public String tag() {
        return tag;
    }

    public String data() {
        return value;
    }

    @Override
    public List<Integer> removeIdList() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public Boolean sameValue(String value) {
        return this.value.equals(value);
    }
}
